import jfx.Lib;


class Ta extends android.app.Activity
{
	public override function onCreate(savedInstanceState : java.lang.Object) : Void
	{
		Lib.println("Hello Android from haXe!");
	}
}
class Plop
{
	public static var Hey = "ho";
	public static dynamic var plop :String->String->Void = function (e, f) {};

	public static dynamic function p(e : String)
	{
		Lib.println("Welcome " + e);
	}

	public static dynamic function g(f : String)
	{
		return;
	}

	public static function main() : Void
	{
		//Std.random(Std.parseInt("10"));
		//Std.random(Std.int(10.2));
		untyped p("Benjamin");
		var msg : String = "message";
		var msg1 : Dynamic = "Plop";
		var msg2 = "Plop inferred";
		var u : Int;
		u=2;
		Lib.println("msg=" + msg);
		msg = ("test");
		new String("plop");
		jfx.Lib.println("Hello to the JVM from haXe World!" + "test");
		untyped java.lang.System.out.println("Plop");
		if(msg == "Test")
		{
			jfx.Lib.println("msg == Test");
		} else
		{
			jfx.Lib.println("msg != Test");
		}
		//test("Bonjour à ", "toi");
		for(i in 0...10)
		{
			jfx.Lib.println(untyped i);
		}
	}
	
/*	public static function test(arg1 : String, arg2 : String)
	{
		Lib.println(arg1 + arg2);
	}
*/
}

interface Hey
{
}
